package com.party.core.model.member;

import com.party.core.model.BaseModel;

/**
 * @author: Administrator.
 * @Description: 第三方用户
 * @Date:Created in 2017/10/18 0018 下午 16:43.
 */
public class ThirdMember extends BaseModel {
    public static final Integer THIRD_MEMBER_TYPE_PROJECT = 0;
    public static final Integer THIRD_MEMBER_TYPE_PHOTO = 1;

    private String account; // 编码
    private String password; // 密码
    private String url; // 完整URL
    private String uri;
    private String alias; // 链接别名
    private String targetId; // 业务id
    private String publisher; // 业务发布者
    private Integer memberType;//用户类型(0/项目分享编辑,1/相册上传)

    public ThirdMember() {
    }

    public ThirdMember(String account, String password, String targetId) {
        this.account = account;
        this.password = password;
        this.targetId = targetId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTargetId() {
        return targetId;
    }

    public void setTargetId(String targetId) {
        this.targetId = targetId;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public Integer getMemberType() {
        return memberType;
    }

    public void setMemberType(Integer memberType) {
        this.memberType = memberType;
    }

    @Override
    public String toString() {
        return "ThirdMember{" +
                "account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", url='" + url + '\'' +
                ", uri='" + uri + '\'' +
                ", alias='" + alias + '\'' +
                ", targetId='" + targetId + '\'' +
                ", publisher='" + publisher + '\'' +
                ", memberType=" + memberType +
                '}';
    }
}
